package com.project.bean;

import java.time.LocalDate;

public class ProgressBean {
    //进度id
    private int progressID;
    //加入项目时间
    private LocalDate joinTime;
    //员工对象
    private EmployeeBean employee;
    //项目对象
    private ProjectBean project;
    //完成时间或状态
    private String complete="未完成";

    public ProgressBean() {
    }

    public ProgressBean(LocalDate joinTime, EmployeeBean employee, ProjectBean project) {
        this.joinTime = joinTime;
        this.employee = employee;
        this.project = project;
    }

    public int getProgressID() {
        return progressID;
    }

    public void setProgressID(int progressID) {
        this.progressID = progressID;
    }

    public LocalDate getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(LocalDate joinTime) {
        this.joinTime = joinTime;
    }

    public EmployeeBean getEmployee() {
        return employee;
    }

    public void setEmployee(EmployeeBean employee) {
        this.employee = employee;
    }

    public ProjectBean getProject() {
        return project;
    }

    public void setProject(ProjectBean project) {
        this.project = project;
    }

    public String getComplete() {
        return complete;
    }

    public void setComplete(String complete) {
        this.complete = complete;
    }

    @Override
    public String toString() {
        return "ProgressBean{" +
                "progressID=" + progressID +
                ", joinTime=" + joinTime +
                ", employee=" + employee +
                ", project=" + project +
                ", complete='" + complete + '\'' +
                '}'+"\n";
    }
}
